package pkg1;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Teacher c=new Teacher();
        Teacher a=c;

        Scanner sc=new Scanner(System.in);
        a.f();
        a.setA(sc.nextInt());
        c.f();
        c.setA(sc.nextInt());
        System.out.println("a.a>>");
        System.out.println(a.getA());
    }
}
class Teacher{
    public int getA() {
        if(a>0) return a;
        else  return -a;
    }

    public void setA(int a) {
        if(a>0)this.a=a;
        else;
    }

    private int a;
    Teacher(){
        a=10;
    }
    Teacher(int a){
        this.a=a;
    }
    public static void f(){
        System.out.println("Num>>");
    }
}